#pragma once 
#include <iostream>
#include <string>
#include <fstream>
#include "utility.hpp"

using std::ifstream;
using std::string;

class CFileRead
{
public:
    CFileRead();
    virtual ~CFileRead() = 0;
    virtual void Init() = 0;
    virtual void Load() = 0; // load 1 line or 1 binary cycle
    virtual void Open() = 0;
    virtual void loadAll() = 0;

    void Close();

protected:
    ifstream m_fileIn;
    string m_fileInPath;
};
